void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  pinMode(2,INPUT);
  pinMode(13,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  int button=digitalRead(2);
  Serial.println(button);
  if(button==HIGH)
  {
    digitalWrite(13,LOW);
  }else{
    digitalWrite(13,HIGH);
  }

}
